package org.jeecg.modules.report.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.report.entity.ReportConfig;
import org.jeecg.modules.report.entity.ReportConfigInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 战图显示配置明细表
 * @Author: jeecg-boot
 * @Date:   2019-08-20
 * @Version: V1.0
 */
public interface ReportConfigInfoMapper extends BaseMapper<ReportConfigInfo> {

	public boolean deleteByMainId(ReportConfigInfo reportConfigInfo);
    
	public List<ReportConfigInfo> selectByMainId(String mainId);

	List<ReportConfigInfo> findConfigInfoByProjectId(@Param("type") String type, @Param("projectId") String projectId);

    List<ReportConfigInfo> findByMainAndSortId(@Param("mainId") String mainId,@Param("equipSortId") String equipSortId);
}
